package com.hankol.newretail.bean

import com.baselibrary.base.BasicBean
import com.baselibrary.bean.SeckillActProductBean
import com.hankol.newretail.bean.goods_details.MallProductGiftCommodityVo
import kotlinx.android.parcel.Parcelize

/**
 * @author: 关忆北、
 * @date: 2022/8/22
 * @Des：
 */
@Parcelize
data class ShopCartBean(
        var shopId: Long = 0,//店铺id
        var shopName: String = "",//店铺名称
        var dealerCode: String = "",
        var wineryId: Long = 0,
        var isSelected: Boolean = false,//本地字段
        var mallCartSkuDtoList: ArrayList<ShopCartListBean> = arrayListOf()
) : BasicBean()

@Parcelize
data class ShopCartListBean (
    var buyPolicyText: String = "",
    var shopName: String = "",
    var skuCover: String = "",
    var spuName: String = "",
    var cartId: Long = 0,
    var skuId: Long = 0,
    var uid: Long = 0,//用户id
    var num: Int = 1,
    var status: Int = -1,//状态：0正常，1已下架，2无库存，3限制购买
    var price: Long = 0,
    var shopId: Long = 0,//店铺id
    var selected: Int = -1,//0否，1是
    var spuId: Int = 0,//0否，1是
    var maxNum: Int = 0,//最大库存数/最大限购数
    var specList: ArrayList<String> = arrayListOf(),
    var mallProductGiftCommodityVos: ArrayList<MallProductGiftCommodityVo> = ArrayList(),
    var seckillActProductDTO : SeckillActProductBean
) : BasicBean()